package galileo;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import views.Category;
import views.Information;
import views.Level;
import views.Options;
import views.WorkArea;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		//Options
		layout.addStandaloneView(Options.ID, false, IPageLayout.RIGHT,
				0.7f, layout.getEditorArea());
		//Work Area
		layout.addStandaloneView(WorkArea.ID, false, IPageLayout.RIGHT,
				0.4f, layout.getEditorArea());
		//Level
		layout.addStandaloneView(Level.ID, false, IPageLayout.TOP,
				0.3f, layout.getEditorArea());
		//Info
		layout.addStandaloneView(Information.ID, false, IPageLayout.BOTTOM,
				0.5f, layout.getEditorArea());
		//Category
		layout.addStandaloneView(Category.ID, false, IPageLayout.BOTTOM,
				0.5f, layout.getEditorArea());
	}
}
